package com.olap.starter.controller.admin;


import com.olap.starter.core.base.BaseController;
import com.olap.starter.core.response.Result;
import com.olap.starter.pojo.OnlineDictType;
import com.olap.starter.service.OnlineDictTypeServices;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 字典类型表 前端控制器
 * </p>
 *
 * @author WBG
 * @since 2022-11-28
 */
@RestController
@AllArgsConstructor
@RequestMapping("/online/sysDictType")
public class OnlineDictTypeController extends BaseController<OnlineDictType, OnlineDictTypeServices> {



    @GetMapping("/listOnline")
    public Result listOnline() {
        return getService().listOnline();
    }
    @GetMapping("/listDict")
    public Result listDict() {
        return getService().listDict();
    }
}
